package com.jz.community.moduleshoppingguide.neighbor.ui;

import com.jz.community.basecomm.mvp.MVPContract;
import com.jz.community.moduleshoppingguide.neighbor.bean.CircleMessageBean;

public interface NeighborMsgView {
    interface View extends MVPContract.View {
        void isAddCircle(CircleMessageBean entity);

        void noAddCircle(int code);

        void setNeighborMsgData(CircleMessageBean entity);

        void addNeighborSuccess();

        void addNeighborFail(String s);

        void quitNeighborSuccess();

        void quitNeighborFail(String s);

        void showError(String s);
    }

    interface Presenter extends MVPContract.Presenter<NeighborMsgView.View> {
        void initUserNeighbor();

        void initNeighborMsg(String circleId, String lat, String lon);

        void addNeighbor(String circleId);

        void quitNeighbor(String circleId);

    }
}
